# 单继承
# 单继承
# 单继承

class T1:
    def test(self):
        print("父类")


class T2(T1):
    def test(self):
        super().test()
        print("我重写了父类")


t2 = T2()
t2.test()


# 多继承
# 多继承
# 多继承
class Father(object):
    def money(self):
        print("我有100块")


class Mother(object):
    def mon(self):
        print("我有 200块")


class Son(Mother, Father):
    pass


son = Son()
son.mon()
son.money()
